package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/***
 ** Create by Wedream on 2021/8/10
 *  实体：课程
 *  course(id,x,y,course_id,course_name,pre_course_id,pre_course_name)
 */
@TableName("course")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Course {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer x;
    private Integer y;
    private String courseId;
    private String courseName;
    private String preCourseId;
    private String preCourseName;
}
